package com.zhongyu.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

//Rest风格的路径
@Controller
public class ForwardController {

    @GetMapping("/{folder}/{page}/index")
    public String index(@PathVariable("folder") String folder, @PathVariable("page") String page){

        return folder+"/"+page;

    }
}
